//const ApiBaseUrl = 'http://119.29.76.142:5858/';
//const ApiBaseUrl = 'http://wggl.cqyz.gov.cn/wechat/';
const ApiBaseUrl = '/webApi/';
const ApiBaseUrl2 = '/ky/';
//const ApiBaseUrl2 = 'http://wggl.cqyz.gov.cn/lide/';
//const ApiBaseUrl2 = 'http://119.29.76.142:8080/SCMIS/';
//const ApiBaseUrl2 = 'http://119.29.76.142/lide/';

export const Version = 'T1.0.11';

export const Config = {
	// 微信获取code
	GetCode: {
		url: `${ApiBaseUrl}code`,
		method: 'GET',
		type: 1,
	},
	// 发送验证码接口参数 phone  手机号
	sendVerifyCode: {
		url: `${ApiBaseUrl}sendVerifyCode`,
		method: 'GET',
		type: 1,
	},
	// 验证码验证参数： phone  手机号  code 验证码
	codeVerify: {
		url: `${ApiBaseUrl}codeVerify`,
		method: 'GET',
		type: 1,
	},
	//处置成功、流转成功、审核 回调
	sendMessage: {
		url: `${ApiBaseUrl}sendMessage`,
		method: 'POST',
		type: 1,
	},
	// 分类 
	getcatepidtree: {
		url: `${ApiBaseUrl2}home/rec/getcatepidtree.htm`,
		method: 'GET',
		type: 2,
	},
	wxgetuser: {
		url: `${ApiBaseUrl2}home/user/wxgetuser.htm`,
		method: 'GET',
		type: 2,
	},
	wxsaveuser: {
		url: `${ApiBaseUrl2}home/user/wxsaveuser.htm`,
		method: 'POST',
		type: 2,
	},
	wxConfig: {
		url: `${ApiBaseUrl}js`,
		method: 'get',
		type: 1,
	},
	recWxsaverec: {
		url: `${ApiBaseUrl2}home/rec/wxsaverec.htm`,
		method: 'POST',
		type: 2,
	},
	wxgetreclist: {
		url: `${ApiBaseUrl2}home/rec/wxgetreclist.htm`,
		method: 'get',
		type: 2,
	},
	// 案件详情
	wxgetrecbyid: {
		url: `${ApiBaseUrl2}home/rec/wxgetrecbyid.htm`,
		method: 'get',
		type: 2,
	},
	//get /SCMIS/home/rec/wxrecact.htm?recID=xx 工作项列表
	wxrecact: {
		url: `${ApiBaseUrl2}home/rec/wxrecact.htm`,
		method: 'get',
		type: 2,
	},
	//案件流转接口 recID 案件id  userID 处置用户id  roleID 岗位id  actDefID 工作项ID  actDefName 工作项名称
	wxtransit: {
		url: `${ApiBaseUrl2}home/rec/wxtransit.htm`,
		method: 'get',
		type: 2,
	},
	///wxacttopart.htm?actDefID=xx  角色列表获取
	wxacttopart: {
		url: `${ApiBaseUrl2}home/rec/wxacttopart.htm`,
		method: 'get',
		type: 2,
	},
	// 获取用户信息接口 三个字段    userID   roleID   userName
	wxgetuserbyusername: {
		url: `${ApiBaseUrl2}home/user/wxgetuserbyusername.htm`,
		method: 'get',
		type: 2,
	},
	// ?recID=xx&userID=xx 案件认领
	wxassigntask: {
		url: `${ApiBaseUrl2}home/rec/wxassigntask.htm`,
		method: 'get',
		type: 2,
	},
	/*// ?actDefID=76&roleID=11&userID=15&actDefName=巷长&recID=2381
	wxtransit: {
		url: `${ApiBaseUrl2}home/rec/wxtransit.htm`,
		method: 'get',
		type: 2,
	},*/
	// ?recID=xx&userID=xx&checkID=xx 审核
	wxcheck: {
		url: `${ApiBaseUrl2}home/rec/wxcheck.htm`,
		method: 'get',
		type: 2,
	},
	//?recID=xx&userID=xx&attr=xx content 处置
	wxprocessed: {
		url: `${ApiBaseUrl2}home/rec/wxprocessed.htm`,
		method: 'post',
		type: 2,
	},
}